package com.tuanzi.loan.business.entity.wallet;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "loan_user_wallet")
public class LoanUserWallet implements Serializable{
	
	private static final long serialVersionUID = -1639329992947750079L;
	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	@Column(name = "user_id")
	private Long userId;
	
	@Column(name = "mobnum")
	private String mobnum;
	
	@Column(name = "balance")
	private Float balance;
	
	@Column(name = "channel_code")
	private Integer channelCode;
	
	@Column(name = "product_id")
	private String productId;
	
	@Column(name = "platform")
	private String platform;
	
	@Column(name = "create_time")
	private Date createTime;
	

	@Column(name = "updator")
	private String updator;
	
	@Column(name = "update_time")
	private Date updateTime;

}
